<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>testfor</title>
</head>
<body>
    {% for k,v in user.items() %}
        <p>{{ k }}: {{ v }}</p>
    {% endfor %}

    {% for website in websites %}
        <p>{{ website }}</p>
    {% endfor %}
    <table>
        <thead>
            <th>书名</th>
            <th>作者</th>
            <th>价格</th>
        </thead>
        <tbody>
            {% for book in books %}
                <tr>
                    <td>{{ book.name }}</td>
                    <td>{{ book.author }}</td>
                    <td>{{ book.price }}</td>
                </tr>
            {% endfor %}

        </tbody>
    </table>
</body>
</html>